Skip to content

Updating an existing Expense Category

Request

This endpoint returns structured Expense Category objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the expense_categories top-level JSON key. Please see our Response Format section for more information.

Path
idintegerrequired

The ID of the Model.

Bodyapplication/jsonrequired
expense_categoryobject
{ "expense_category": { "name": "string" } }

Responses

Expense Category has been updated.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
expense_categoriesobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "expense_categories": { "property1": { "deleted_at": "2019-08-24T14:15:22Z", "name": "string" }, "property2": { "deleted_at": "2019-08-24T14:15:22Z", "name": "string" } } }